﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Linq;
using System.Text;

namespace Faust.Andrew.MTG.Player.Shared
{
    [DataContract]
    public class GameState
    {
        /// <summary>
        /// All the playersIDs in the game
        /// </summary>
        [DataMember]
        public List<Player> Players { get; set; }

        /// <summary>
        /// All the cardIDs in play, including their location, tapped state, modifiers, etc
        /// </summary>
        [DataMember]
        public List<GameCard> Cards { get; set; }


        [DataMember]
        public GameCard CurrentPlane { get; set; }

        [DataMember]
        public bool IsPlanechase { get; set; }

        public GameState()
        {
            Players = new List<Player>();
            Cards = new List<GameCard>();
        }
    }
}
